<template>
  <a-spin :size="size" :spinning="spinning">
    <slot />
    <slot slot="indicator" name="indicator" />
  </a-spin>
</template>

<script>
export default {
  name: 'DSpin',
  props: {
    size: {
      type: String,
      default: 'default'
    },
    spinning: {
      type: Boolean,
      default: false
    }
  }
};
</script>

<style lang="scss" scoped></style>
